package cn.buk.tms.selfservice;

import cn.buk.tms.sc.SearchFlightOrderCriteria;
import cn.buk.tms.flight.dto.response.FlightOrderResponseDto;

import java.util.List;

/**
 * 机票订单自助服务
 * Created by william on 2019-3-2.
 */
public interface FlightOrderSelfService {

    List<FlightOrderResponseDto> searchFlightOrders(int enterpriseId, int userId, String username, SearchFlightOrderCriteria sc);

    FlightOrderResponseDto getFlightOrderDetail(int enterpriseId, int id);

    /**
     * 根据授权码获取订单详情
     * @param id
     * @param authCode
     * @return
     */
    FlightOrderResponseDto getFlightOrderDetailByAuthCode(int id, String authCode, String mobile);


}
